<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link rel="icon" href="favicon.ico" type="image/x-icon"/>
<title>添加文章-文章管理-{$site("BACK_NAME")}</title>
<include file="Public:jscss"/>
</head>
<body>
<div class="wrap">
 <include file="Public:head"/>
 <div class="mainBody">
  <include file="Public:left"/>
  <div id="Right">
   <div class="Item hr">
    <div class="current">添加文章</div>
   </div>
   <form action="" method="post">
    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="table1">
     <tr>
      <th width="100">文章标题：</th>
      <td><input id="title" type="text" class="input" size="60" name="title" value=""/></td>
     </tr>
     <tr>
      <th  width="100">文章封面：</th>
      <td><input type="file" accept="image/png,image/gif" name="pic" class="input" size="30"/> 无需封面请留空</td>
     </tr>
     <tr>
      <th width="100">文章发布状态：</th>
      <td>
	   <label><input type="radio" name="status" value="0" /> 文章审核状态</label> &nbsp; 
	   <label><input type="radio" name="status" value="1" checked="checked"/> 文章已发布状态</label> 
	  </td>
     </tr>
     <tr>
      <th>文章所属分类：</th>
      <td>
       <select name="cid">
		    <foreach name="cates" item="cate">
		    <option value="{$cate(~id~)}">{$cate("fullname")}</option>
		    </foreach>
       </select>
	  </td>
     </tr>
     <tr>
      <th>文章关键词：</th>
      <td><input type="text" class="input" size="60" name="keywords" value=""/> 多关键词间用半角逗号（,）分开，可用于做文章关联阅读条件</td>
     </tr>
     <tr>
      <th>文章描述：</th>
      <td><textarea class="input" style="height: 60px; width: 600px;" name="description"></textarea> 用于SEO的description</td>
     </tr>
     <tr>
      <th>文章摘要：</th>
      <td><textarea class="input" style="height: 60px; width: 600px;" name="introduce"></textarea> 如果不填写则系统自动截取文章前200个字符</td>
     </tr>
     <tr>
      <th>文章内容：</th>
      <td><textarea id="content" class="input" style="height: 680px; width:563px;visibility:hidden;" name="content"></textarea></td>
     </tr>
	 <tr>
      <th>排序：</th>
      <td><input type="text" name="sort" value="0" class="input" size="5"/></td>
     </tr>
    </table>
   </form>
   <div class="commonBtnArea" >
    <button class="btn cfz_submit">提交</button>
   </div>
  </div>
 </div>
</div>
<div class="clear"></div>
<include file="Public:foot"/>
<script src="__COMMON__/js/kindeditor/kindeditor.js?v=__VERSION__"></script>
<script src="__COMMON__/js/kindeditor/lang/zh_CN.js?v=__VERSION__"></script>
<script src="__COMMON__/js/kindeditor/editorbuild.js?v=__VERSION__"></script>
<script type="text/javascript">
$(function(){
	//创建编辑器
	var content = EDbuildByIdMini('content');
	//同步编辑器并提交表单
	$(".cfz_submit").click(function(){
		//content.sync();
		KindEditor.sync('#content');
		commonAjaxSubmit();
		return false;
	});
});
</script>
</body>
</html>